<?php

namespace app\common;

class Error
{
    // 公共
    const SUCCESS_CODE = 200;
    const SUCCESS_MESSAGE = '操作成功';

    const FAIL_CODE = 500;
    const FAIL_MESSAGE = '操作失败';

    const NO_CHARGE_REQUIRED_CODE = 400;

    const PLEASE_CONTACT_THE_DEVELOPER = '数据添加失败，请联系开发人员';

    const NOT_LOGGED_CODE = 101;
    const PLEASE_LOGIN_FIRST = '请先登录';

    const NOT_REQUEST_AUTH_CODE = 102;
    const NOT_REQUEST_AUTH_MESSAGE = '暂无请求权限，请联系管理员';

    const DELETE_MANAGER_ERROR_MESSAGE = '不能删除超级管理员';

    const DELETE_FAIL = '删除失败';

    const APPID_PARAMATER_ERROR = '小程序app_id参数错误';

    // api
    const FAIL_AUTHORIZED_lOGIN = '授权登录失败';

    const INTERNAL_SERVER_ERROR = '服务器内部错误';

    const CODE_NOT_EXIXTS = 'code参数不能为空';

    const VIDEO_ID_NOT_EXIXTS = 'video_id参数不能为空';

    const TYPE_ID_NOT_EXIXTS = 'type_id参数不能为空';

    const TYPE_NOT_EXIXTS = 'type参数不能为空';

    const VIDEO_DETAIL_ID_NOT_EXIXTS = 'video_detail_id参数不能为空';

    const SORT_NOT_EXIXTS = 'sort参数不能为空';

    const ADMIN_ID_NOT_EXIXTS = 'admin_id参数不能为空';

    const ERROR_NO_CHARGE_REQUIRED = '该视频不需要付费';

    const K_C_IS_INSUFFICIENT = 'K币不足，请充值';

    const FAILED_TO_DEDUCT_MONEY = '扣币失败';

    const SEARCH_TERM_DOES_NOT_EXIST = '搜索词不存在';

    const SIGNED_IN_TODAY = '今日已签到';

    const USER_NAME_NOT_EXIXTS = '用户昵称不能为空';

    const AVATAR_NOT_EXIXTS = '用户头像不能为空';

    const THE_SHORT_PLAY_OFF_SHELF_CODE = 104;

    const THE_SHORT_PLAY_OFF_SHELF = '该短剧已下架';

    const PAY_DATA_REQUEST_PARAMATER_NOT_EXIXTS = '支付数据请求参数异常';

    const DEVICE_ID_NOT_EXIXTS = '设备ID参数异常';

    const MOBILE_SYSTEM_NOT_EXIXTS = '手机系统参数异常';

    // admin
    const LOGIN_ERROR_CODE = 103;

    const LOGIN_ERROR = '登录失败';

    const USERNAME_NOT_EXIXTS = 'username参数不能为空';

    const PASSWORD_NOT_EXIXTS = 'password参数不能为空';

    const USER_NOT_EXIXTS = '用户不存在';

    const PASSWORD_ERROR = '密码错误';

    const USERNAME_EXISTS = '用户名已被注册';

    const ID_NOT_EXIXTS = 'id参数不能为空';

    const PID_NOT_EXIXTS = 'pid参数不能为空';

    const NAME_NOT_EXIXTS = 'name参数不能为空';

    const MENU_EXISTS_CHILDREN_DATA = '该菜单下还有子级数据，请先删除子级数据';

    const MENU_IDS_NOT_EXIXTS = 'menu_ids参数不能为空';

    const APP_ID_NOT_EXIXTS = 'app_id参数不能为空';

    const APP_SECRET_NOT_EXIXTS = 'app_secret参数不能为空';

    const TOKEN_NOT_EXIXTS = 'token参数不能为空';

    const ORIGINAL_ID_NOT_EXIXTS = 'original_id参数不能为空';

    const ENCODING_AES_KEY_NOT_EXIXTS = 'encoding_aes_key参数不能为空';

    const CONTACTS_NOT_EXIXTS = 'contacts参数不能为空';

    const CONTACT_NUMBER_NOT_EXIXTS = 'contact_number参数不能为空';

    const COMPANY_ID_NOT_EXIXTS = 'company_id参数不能为空';

    const CONTENT_NOT_EXIXTS = 'content参数不能为空';

    const PACKAGE_NOT_EXIXTS = 'package参数不能为空';

    const STATUS_NOT_EXIXTS = 'status参数不能为空';

    const APPLET_ID_NOT_EXIXTS = 'applet_id参数不能为空';

    const VIDEO_TYPE_ID_NOT_EXIXTS = 'video_type_id参数不能为空';

    const COVER_IMG_NOT_EXIXTS = 'cover_img参数不能为空';

    const LABEL_NOT_EXIXTS = 'label参数不能为空';

    const IS_FREE_NOT_EXIXTS = 'is_free参数不能为空';

    const SYLLOGE_NOT_EXIXTS = 'sylloge参数不能为空';

    const IS_SHELVES_NOT_EXIXTS = 'is_shelves参数不能为空';

    const SYNOPSIS_NOT_EXIXTS = 'synopsis参数不能为空';

    const ABBREVIATION_NOT_EXIXTS = 'abbreviation参数不能为空';

    const START_TIME_NOT_EXIXTS = 'start_time参数不能为空';

    const END_TIME_NOT_EXIXTS = 'end_time参数不能为空';

    const SCALE_NOT_EXIXTS = 'scale参数不能为空';

    const URL_NOT_EXIXTS = 'url参数不能为空';

    const IS_MEMBERS_NOT_EXIXTS = 'is_members参数不能为空';

    const IS_PAY_NOT_EXIXTS = 'is_pay参数不能为空';

    const PAY_AMOUNT_NOT_EXIXTS = 'pay_amount参数不能为空';

    const DISPLAY_OBJECT_NOT_EXIXTS = 'display_object参数不能为空';

    const RECHARGE_PRICE_NOT_EXIXTS = 'recharge_price参数不能为空';

    const SEND_CURRENCY_NOT_EXIXTS = 'send_currency参数不能为空';

    const SUM_CURRENCY_NOT_EXIXTS = 'sum_currency参数不能为空';

    const SEND_TITLE_NOT_EXIXTS = 'send_title参数不能为空';

    const RULE_ID_NOT_EXIXTS = 'rule_id参数不能为空';

    const PROFILE_PHOTO_NOT_EXIXTS = 'profile_photo参数不能为空';

    const INTRODUCE_NOT_EXIXTS = 'introduce参数不能为空';

    const ADMIN_UID_NOT_EXIXTS = 'admin_uid参数不能为空';

    const TIME_INTERVAL_IS_TOO_LARGE = '开始日期和结束日期之间的时间间隔不得超过31天';

    const NO_START_DATE_SELECTED = '未选择开始日期（需同时选择且时间间隔不得超过31天）';

    const NO_END_DATE_SELECTED = '未选择结束日期（需同时选择且时间间隔不得超过31天）';

    const PATH_NOT_EXIXTS = 'path参数不能为空';

    const CANNOT_ADD_REPEATEDLY = '该短剧已存在banner中，不能重复添加';

    const NAME_OF_THE_RESPONSIBLE_PERSON_ALREADY_EXISTS = '该负责人名称已存在';

    const IS_DEFAULT_NOT_EXIXTS = 'is_default参数不能为空';

    const PLATFORM_TYPE_NOT_EXIXTS = 'platform_type参数不能为空';

    const SPEND_NOT_EXIXTS = 'spend参数不能为空';

    const COVER_NOT_EXIXTS = 'cover参数不能为空';

    const AUTHOR_NOT_EXIXTS = 'author参数不能为空';

    const IS_RELEASE_NOT_EXIXTS = 'is_release参数不能为空';

    const DATA_NOT_EXIXTS = 'data参数不能为空';

    const ID_STRING_NOT_EXIXTS = 'id_string参数不能为空';

    // cps
    const OFFICIAL_ACCOUNT_ID_NOT_EXIXTS = 'official_account_id参数不能为空';

    const MEDIA_ID_NOT_EXIXTS = 'media_id参数不能为空';

    const IS_OPEN_NOT_EXIXTS = 'is_open参数不能为空';

    const ECHO_RATE_NOT_EXIXTS = 'echo_rate参数不能为空';

    const TEMPLATE_ID_NOT_EXIXTS = 'template_id参数不能为空';

    const SWITCH_NOT_EXIXTS = 'switch参数不能为空';

    const ECHO_INITIAL_CHARGE_TYPE_NOT_EXIXTS = 'echo_initial_charge_type参数不能为空';

    const IS_OPEN_ROI_NOT_EXIXTS = 'is_open_roi参数不能为空';

    const NO_CONTENT_AT_THE_SAME_TIME = '已充值用户和未充值用户里面不能同时没有内容';

    const LINK_ID_NOT_EXIXTS = 'link_id参数不能为空';

    const CUSTOM_CONFIGURATION_ALREADY_EXISTS = '该公众号已存在该短剧的自定义配置';

    const WATCH_REMINDER_NOT_EXIXTS = 'watch_reminder参数不能为空';

    const SIGN_REMINDER_NOT_EXIXTS = 'sign_reminder参数不能为空';

    const IS_AUTH_NOT_EXIXTS = 'is_auth参数不能为空';

    const WECHAT_NUMBER_NOT_EXIXTS = 'wechat_number参数不能为空';

    const KEYWORD_NOT_EXIXTS = 'keyword参数不能为空';

    const LINK_TYPE_NOT_EXIXTS = 'link_type参数不能为空';

    const TITLE_NOT_EXIXTS = 'title参数不能为空';

    const LINK_URL_NOT_EXIXTS = 'link_url参数不能为空';

    const VALUE_NOT_EXIXTS = '开关值参数不能为空';

    const IS_PUSH_NOT_EXIXTS = 'is_push参数不能为空';

    const PLEASE_UPLOAD_FILE = '请上传文件';

    const ACCESS_TOKEN_NOT_EXISTS = 'accessToken不存在';

    const UPLOAD_MATERIAL_FAIL = '上传素材失败';

    const OFFICIAL_ACCOUNT_ALREADY_CUSTOM_MENU = '公众号已存在自定义菜单';

    const MENU_PUSH_FAIL = '菜单发布失败';

    const APPLET_URL_NOT_EXIXTS = '跳转小程序的链接数据不存在';

    const ECHO_RATE_INTERVAL_VALUE_ERROR = '回传率未在0~100之间';

    const PLEASE_CHOICE_ECHO_DATA = '请选择回传数据';

    const ADVERTISER_ID_NOT_EXIXTS = '请选择广告账户';

    const ADVERTISER_ID_ALREADY_OCCUPIED = '该广告账户已被占用，请先关闭其他链接使用后再使用该广告账号';

    const RETURN_VALUE_NOT_EXISTS = '该用户回传必须值不存在';

    const THIS_USER_ACTIVATION_TIME_NOT_SATISFY_CONDITION = '该用户需是今天激活的用户，且激活时间需要在今天晚上23点前';

    const THE_PLATFORM_NOT_OPENED_THIS_FUNCTION = '该平台暂未开放该功能';

    const THIS_USER_24_HOUR_RETURNED = '该用户24小时内已回传过';

    const THIS_USER_CORRESPONDING_LINK_CURRENT_DOWN_LAUNCH = '此用户对应的链接当前已关闭投放';

    const ACCOUNT_ID_NOT_EXIXTS = '投放账户Id不能为空';

    const REBATE_NOT_EXISTS = '返点值不能为空';

    const PLEASE_SELECT_LAUNCH_PLATFORM = '请选择投放平台';

    const THE_ACCOUNT_IS_EXISTS = '该广告账户已存在';

    const STAFF_ID_NOT_EXIXTS = 'staff_id参数不能为空';

    const STATION_ID_NOT_EXIXTS = 'staff_id参数不能为空';

    const REWARD_NOT_EXIXTS = 'reward参数不能为空';

    const COMMISSION_NOT_EXIXTS = 'commission参数不能为空';

    const JOB_NUMBER_NOT_EXIXTS = 'job_number参数不能为空';

	const STAFF_NOT_EXIXTS = '员工不存在';

	const STAFF_FAIL_lOGIN = '员工登录失败';

	//H5
	const FAIL_GET_CODE = '获取code失败';
}